package com.campsys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campsys.domain.TSysUser;
import com.campsys.domain.param.PageParam;
import com.campsys.domain.param.UserAddParam;
import com.campsys.domain.vo.AdminPageVo;
import com.campsys.domain.vo.UserInfoVo;

import java.util.List;

public interface IUserService extends IService<TSysUser> {

    String createToken(String username, String password);

    List<AdminPageVo> getAdminPage(PageParam pageParam);

    Long getAdminPageTotal();

    UserInfoVo getUserInfoByUserId(Long userId);

    Boolean addAdmin(UserAddParam userAddParam);
}
